import request from '@/utils/request'

export function listDriver(query) {
  return request({
    url: '/system/driver/list',
    method: 'get',
    params: query
  })
}
export function selectList(query) {
  return request({
    url: '/system/driver/selectList',
    method: 'get',
    params: query
  })
}

export function delDriver(compFeeIds) {
  return request({
    url: '/system/driver/' + compFeeIds,
    method: 'delete'
  })
}
export function driverAdd(data) {
  return request({
    url: '/system/driver',
    method: 'post',
    data: data
  })
}
export function updategdriver(data) {
  return request({
    url: '/system/driver',
    method: 'put',
    data: data
  })
}
export function driverInfo(query) {
  return request({
    url: '/system/driver/' + query,
    method: 'get',
  })
}